package com.zmkj.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zmkj.domain.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SysRoleDao extends BaseMapper<SysRoleDao> {

    @Select("select * from sys_role where id = #{roleId}")
    SysRole getUserRole(Integer roleId);

}
